package cn.xiaopengstack.domain.credit.service;

import cn.xiaopengstack.domain.credit.model.entity.CreditAccountEntity;
import cn.xiaopengstack.domain.credit.model.entity.TradeCreditEntity;

import java.math.BigDecimal;

/**
 * @author jiangyangang
 */
public interface ICreditAdjustService {

    /**
     * 创建调额订单
     * @param tradeCreditEntity
     * @return
     */
    String createOrder(TradeCreditEntity tradeCreditEntity);

    /**
     * 查询用户积分账户
     * @param userId
     * @return
     */
    CreditAccountEntity queryUserCreditAccount(String userId);
}
